home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / kill / RCS / kill.man,v < prev   
Encoding:
Text File  |  1988-12-30  |  2.5 KB  |  106 lines

  1. head     1.2;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @@;
  7.  
  8.  
  9. 1.2
  10. date     88.12.30.09.33.58;  author ouster;  state Exp;
  11. branches ;
  12. next     1.1;
  13.  
  14. 1.1
  15. date     88.12.21.15.16.59;  author ouster;  state Exp;
  16. branches ;
  17. next     ;
  18.  
  19.  
  20. desc
  21. @@
  22.  
  23.  
  24. 1.2
  25. log
  26. @More format upgrades.
  27. @
  28. text
  29. @' $Header: /a/newcmds/kill/RCS/kill.man,v 1.1 88/12/21 15:16:59 ouster Exp Locker: ouster $ SPRITE (Berkeley)
  30. .so \*(]ltmac.sprite
  31. .HS KILL cmds
  32. .BS
  33. .SH NAME
  34. kill \- Send a signal to a process or group
  35. .SH SYNOPSIS
  36. \fBkill\fR [\fIoptions\fR] \fIpid pid ...\fR
  37. .SH OPTIONS
  38. .IP "\fB\-g\fR" 15
  39. Treat each \fIpid\fR as the name of a process group rather than a process,
  40. and send the given signal to the entire group.
  41. .IP "\fB\-help\fR" 15
  42. Print a summary of the command-line options and exit without sending
  43. any signals.
  44. .IP "\fB\-l\fR" 15
  45. Print out a list of valid signal names and
  46. exit without sending any signals.
  47. .IP "\fB\-\fIsignal\fR" 15
  48. Send \fIsignal\fR to the given processes.  \fISignal\fR may be either
  49. a number or a symbolic name.  The legal names are the same as the
  50. names from the <signal.h> include file, except without the ``SIG''
  51. prefix.  \fISignal\fR defaults to \fBTERM\fR.
  52. .BE
  53.  
  54. .SH DESCRIPTION
  55. .LP
  56. This command sends a signal (usually a SIGTERM kill signal) to
  57. one or more processes.  Depending on how the processes have
  58. arranged for the signal to be handled, the processes may exit,
  59. enter the debugger, ignore the signal altogether, or execute a
  60. handler procedure within the process.  In the default case where
  61. the SIGTERM signal is used, the normal result is for the process
  62. to exit.
  63. See the \fBsigvec\fR manual page for more details on signal handling.
  64. .LP
  65. Note:  The C-shell (csh) contains a built-in command \fBkill\fR that
  66. behaves almost identically to this command (it doesn't support the
  67. \fB\-g\fR or \fB\-help\fR options, but is otherwise the same).  If you
  68. are running the C-shell and type \fBkill\fR, you will get the built-in
  69. command:  to get the program version, invoke \fBkill\fR by typing its
  70. absolute path name.
  71.  
  72. .SH "SEE ALSO"
  73. sigvec
  74.  
  75. .SH KEYWORDS
  76. group, kill, process, signal
  77. @
  78.  
  79.  
  80. 1.1
  81. log
  82. @Initial revision
  83. @
  84. text
  85. @d1 1
  86. a1 1
  87. ' $Header: /sprite/doc/ref/cmds/RCS/kill,v 1.2 88/10/21 17:50:42 ouster Exp $ SPRITE (Berkeley)
  88. d10 1
  89. a10 1
  90. .IP "\fB-g\fR" 15
  91. d13 1
  92. a13 1
  93. .IP "\fB-help\fR" 15
  94. d16 1
  95. a16 1
  96. .IP "\fB-l\fR" 15
  97. d19 1
  98. a19 1
  99. .IP "\fB-\fIsignal\fR" 15
  100. d39 3
  101. a41 3
  102. \fB-g\fR or \fB-help\fR options, but is otherwise the same).  If you
  103. are running the C-shell and type ``kill'', you will get the built-in
  104. command:  to get the program version, invoke Kill by typing its
  105. @
  106.